package com.hspedu.abstract_;

public class AA extends Template {

    //计算任务
    //1 + ··· + 10000
    @Override
    public void job() {//实现Template的抽象方法job()
        long sum = 0;
        for (long i = 1; i < 100000; i++) {
            sum += i;
        }
    }
}
